<?php
	/**
	 * Home controller class
	 * @version 1.0
	 * @package controllers
	*/
	Class HomeController extends Controller 
	{
		public $page_title = LANG_WELCOME;
		public $layout = 'site';
		public $name = 'home';
		public $menuItem = 'home';
		public $module = 'home';
		public $localName = LANG_WELCOME;
		public $metaName = META_NAME_HOME_PAGE;
		public $metaDescription = META_DESCRIPTION_HOME_PAGE;
		public $helpers = array('html', 'htmls', 'htmlx');
		public $javascript = array();
		public $publicPages = array('index');
		public $components = array('pagination/pagination|index', 'webservice/webservice');

		
		/* PUBLIC PAGES */
		
		/**
		 * Home page
		 */
		function Index()
		{
			$this->page_title = Language::Get('Home');
			
			//reference data
			$this->data['account_types'] = $this->GetListFromPool('AccountTypes');
			
			//TEST
			$_SESSION['client'] = array('id' => 6);
		}
	}
?>